/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.enveloprule.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.enveloprule.entity.EnvelopRule;
import com.thinkgem.jeesite.modules.enveloprule.dao.EnvelopRuleDao;

/**
 * 生成红包规则Service
 * @author thinkgem
 * @version 2017-08-24
 */
@Service
@Transactional(readOnly = true)
public class EnvelopRuleService extends CrudService<EnvelopRuleDao, EnvelopRule> {

	public EnvelopRule get(String id) {
		return super.get(id);
	}
	
	public List<EnvelopRule> findList(EnvelopRule envelopRule) {
		return super.findList(envelopRule);
	}
	
	public Page<EnvelopRule> findPage(Page<EnvelopRule> page, EnvelopRule envelopRule) {
		return super.findPage(page, envelopRule);
	}
	
	@Transactional(readOnly = false)
	public void save(EnvelopRule envelopRule) {
		super.save(envelopRule);
	}
	
	@Transactional(readOnly = false)
	public void delete(EnvelopRule envelopRule) {
		super.delete(envelopRule);
	}
	
}